#define _CRT_SECURE_NO_WARNINGS 1

#include"seqlist.h"


int main()
{
	SeqList s;
	SLInit(&s);

	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushFront(&s, 10);
	SLPrint(&s);

	SLInsert(&s, 2, 2);
	SLInsert(&s, 0, 0);
	SLPrint(&s);

	SLInsert(&s, 1, 5);
	SLPrint(&s);

	SLErase(&s, 0);
	SLErase(&s, 2);
	SLPrint(&s);

	SLErase(&s, 5);
	SLPrint(&s);

	/*SLPopBack(&s);
	SLPopBack(&s);
	SLPopFront(&s);
	SLPrint(&s);*/

	SLDestroy(&s);

	return 0;
}



